package com.joysuch.wwyt.bp.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.joysuch.wwyt.bp.bean.BpPermitsBean;
import com.joysuch.wwyt.bp.entity.BpPermits;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface BpPermitsService {
    Page<BpPermits> page(Pageable page);

    void delete(Long id);

    void add(BpPermitsBean bpPermits) throws JsonProcessingException;
}
